﻿using Masuit.Tools.Logging;
using Microsoft.AspNetCore.Mvc.Filters;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace Masuit.MyBlogs.Core.MvcHelper
{
    public class CustomerExceptionFilter : IExceptionFilter
    {

   

         
        public async void OnException(ExceptionContext context)
        {
            Exception exception = context.Exception;

            LogManager.Error(exception);
     
          
        }

    }
}
